﻿using FluentValidation;

namespace Services.Activity.WebApi.Request;

public class GetActivityChiefRequest
{
    public long ActivityId { get; set; }
}
public class GetActivityChiefValidator : AbstractValidator<GetActivityChiefRequest>
{
    public GetActivityChiefValidator()
    {
        RuleFor(x=>x.ActivityId).NotEmpty().WithMessage("活动索引不能为空");
    }
}